﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MethodDemo
{
    public class Worker
    {
        private int age;
        public int Age
        {
            get
            {
                return this.age;
            }
            set
            {

                this.age = value;
            }
        }
    }
}
